package com.chenju.invokechainservice.domain;

import com.chenju.invokechainservice.common.enums.ChangeType;
import com.chenju.invokechainservice.common.enums.FocusType;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

@Data
public class ImpactEntity implements Serializable {
    private String mappingPath;
    private FocusType focusType;
    private Map<String, ChangeType> impactedMethods;

    public ImpactEntity(){
        this.impactedMethods = new HashMap<>();
    }

    public ImpactEntity(String mappingPath, FocusType focusType){
        this.mappingPath = mappingPath;
        this.focusType = focusType;
        this.impactedMethods = new HashMap<>();
    }
}
